<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="css/base.css" rel="stylesheet" />
</head>
<body>
	<div id="page">
		<div id="header">
			<div id="menu">
				<div id="corpTitle">美食前线</div>
				<div id="fastNav">
					<ul>
						<li><a href="deliciousfoodindex">首页</a></li>
						<li><a href="productlist">产品展示</a></li>
						<li><a href="newslist">新闻动态</a></li>
						<li><a href="Message">留言板</a></li>
						<li>联系我们</li>
					</ul>
				</div>
				<div class="clear"></div>
			</div>
			<div class="clear"></div>
		</div>
		<div id="main">
			<form action="CheckLogin" method="post">
				<fieldset class="edit-panel">
					<legend>用户登录</legend>
					<div>
						<label for="username" class="fieldname">用户名：</label> <input
							type="text" name="username" id="username">
					</div>
					<div>
						<label for="password" class="fieldname">密码：</label> <input
							type="password" name="password" id="password">
					</div>
					<div>
						<label class="fieldname">&nbsp;</label>
						<button>登录</button>
						<a href="register.jsp">注册</a>
					</div>
					<%-- <c:if test="${erro!=null }">
					<div>${erro}</div>
					</c:if> --%>
					<div>
					${erro!=null?erro:""}</div>		
<%-- 					<%if(request.getAttribute("erro")!=null){ %>
					<div><%=request.getAttribute("erro") %></div>
					<%}else{%>
					<div></div>
					<%} %> --%>
				</fieldset>
			</form>
		</div>
		<div id="footer">
			<p>
				<a>首页|</a><a>关于我们|</a><a>联系我们</a>
			</p>
			<p>@©2016 网站样板-餐饮 版权所有</p>
			<p>技术支持：广州广力 | 手机版 | 管理登录</p>
		</div>
	</div>
</body>
</html>